package com.lyx.server.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lyx.server.entity.SignLog;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * (SignLog)表数据库访问层
 *
 * @author McMeloxD
 * @since 2024-08-15 17:40:58
 */
public interface SignLogDao extends BaseMapper<SignLog> {

    @Select("select * from t_sign_log where uid=#{uid} and type=#{type} order by s_time desc limit 1")
     SignLog queryByUid(@Param("uid") Integer uid,@Param("type")String type);
}

